package com.fzg.service;

import com.fzg.common.enums.ResponseWrapper;
import com.fzg.common.model.jobInfoManage.param.*;
import com.fzg.entity.JobInfor;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 求职信息表 服务类
 * </p>
 *
 * @author fzg
 * @since 2021-12-13
 */
public interface JobInforService extends IService<JobInfor> {

    /**
     *  获取求职信息列表
     */
    ResponseWrapper getJobInfoList(GetJobInfoListParam param);

    /**
     * 判断求职用户是否存在
     */
    ResponseWrapper checkHunterJobUserIsExist(CheckHunterJobUserIsExistParam param);

    /**
     * 判断是否为管理员
     */
    ResponseWrapper isAdmin(CheckIsAdminParam param);


    /**
     * 添加或者修改求职信息
     */
    ResponseWrapper editOrAddJobInfoApi(EditOrAddJobInfoParam param);

    /**
     * 删除求职信息
     */
    ResponseWrapper delJobInfoByAid(DelJobInfoByAidParam param);

    /**
     * 获取被点击用户的信息以及用户的求职信息
     */
    ResponseWrapper getUserInfoAndJobInfo(GetUserInfoAndJobInfoParam param);

    /**
     * 得到全部求职者信息和求职者发布的求职信息
     */
    ResponseWrapper getAllHunterInfoAndHunterPublishInfo(GetAllHunterInfoAndHunterPublishInfoParam param);

}
